/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package ccore.expression.impl;

import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EDataType;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
import org.eclipse.emf.ecore.impl.EPackageImpl;

import ccore.CcorePackage;
import ccore.common.CommonPackage;
import ccore.common.impl.CommonPackageImpl;
import ccore.constraint.ConstraintPackage;
import ccore.constraint.impl.ConstraintPackageImpl;
import ccore.expression.CAddCst;
import ccore.expression.CAddVar;
import ccore.expression.CBasicIntExprCst;
import ccore.expression.CBasicIntExprVar;
import ccore.expression.CDivCst;
import ccore.expression.CIntCst;
import ccore.expression.CIntExpr;
import ccore.expression.CIntExprCst;
import ccore.expression.CIntExprVar;
import ccore.expression.CIntVar;
import ccore.expression.CIntVarRef;
import ccore.expression.CMultCst;
import ccore.expression.CSubCst;
import ccore.expression.CSubVar;
import ccore.expression.ExpressionFactory;
import ccore.expression.ExpressionPackage;
import ccore.impl.CcorePackageImpl;
import ccore.instance.InstancePackage;
import ccore.instance.impl.InstancePackageImpl;
import ccore.model.ModelPackage;
import ccore.model.impl.ModelPackageImpl;
import choco.integer.IntExp;
import choco.integer.IntVar;

/**
 * <!-- begin-user-doc -->
 * An implementation of the model <b>Package</b>.
 * <!-- end-user-doc -->
 * @generated
 */
public class ExpressionPackageImpl extends EPackageImpl implements ExpressionPackage {
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass cIntVarEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass cIntExprEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass cIntCstEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass cIntExprCstEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass cAddCstEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass cSubCstEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass cMultCstEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass cDivCstEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass cBasicIntExprCstEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass cIntExprVarEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass cBasicIntExprVarEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass cAddVarEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass cSubVarEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EClass cIntVarRefEClass = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EDataType intExpEDataType = null;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private EDataType intVarEDataType = null;

	/**
	 * Creates an instance of the model <b>Package</b>, registered with
	 * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
	 * package URI value.
	 * <p>Note: the correct way to create the package is via the static
	 * factory method {@link #init init()}, which also performs
	 * initialization of the package, or returns the registered package,
	 * if one already exists.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see org.eclipse.emf.ecore.EPackage.Registry
	 * @see ccore.expression.ExpressionPackage#eNS_URI
	 * @see #init()
	 * @generated
	 */
	private ExpressionPackageImpl() {
		super(eNS_URI, ExpressionFactory.eINSTANCE);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private static boolean isInited = false;

	/**
	 * Creates, registers, and initializes the <b>Package</b> for this
	 * model, and for any others upon which it depends.  Simple
	 * dependencies are satisfied by calling this method on all
	 * dependent packages before doing anything else.  This method drives
	 * initialization for interdependent packages directly, in parallel
	 * with this package, itself.
	 * <p>Of this package and its interdependencies, all packages which
	 * have not yet been registered by their URI values are first created
	 * and registered.  The packages are then initialized in two steps:
	 * meta-model objects for all of the packages are created before any
	 * are initialized, since one package's meta-model objects may refer to
	 * those of another.
	 * <p>Invocation of this method will not affect any packages that have
	 * already been initialized.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #eNS_URI
	 * @see #createPackageContents()
	 * @see #initializePackageContents()
	 * @generated
	 */
	public static ExpressionPackage init() {
		if (isInited) return (ExpressionPackage)EPackage.Registry.INSTANCE.getEPackage(ExpressionPackage.eNS_URI);

		// Obtain or create and register package
		ExpressionPackageImpl theExpressionPackage = (ExpressionPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof ExpressionPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new ExpressionPackageImpl());

		isInited = true;

		// Obtain or create and register interdependencies
		CcorePackageImpl theCcorePackage = (CcorePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CcorePackage.eNS_URI) instanceof CcorePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CcorePackage.eNS_URI) : CcorePackage.eINSTANCE);
		ModelPackageImpl theModelPackage = (ModelPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ModelPackage.eNS_URI) instanceof ModelPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ModelPackage.eNS_URI) : ModelPackage.eINSTANCE);
		InstancePackageImpl theInstancePackage = (InstancePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(InstancePackage.eNS_URI) instanceof InstancePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(InstancePackage.eNS_URI) : InstancePackage.eINSTANCE);
		ConstraintPackageImpl theConstraintPackage = (ConstraintPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ConstraintPackage.eNS_URI) instanceof ConstraintPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ConstraintPackage.eNS_URI) : ConstraintPackage.eINSTANCE);
		CommonPackageImpl theCommonPackage = (CommonPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI) instanceof CommonPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI) : CommonPackage.eINSTANCE);

		// Create package meta-data objects
		theExpressionPackage.createPackageContents();
		theCcorePackage.createPackageContents();
		theModelPackage.createPackageContents();
		theInstancePackage.createPackageContents();
		theConstraintPackage.createPackageContents();
		theCommonPackage.createPackageContents();

		// Initialize created meta-data
		theExpressionPackage.initializePackageContents();
		theCcorePackage.initializePackageContents();
		theModelPackage.initializePackageContents();
		theInstancePackage.initializePackageContents();
		theConstraintPackage.initializePackageContents();
		theCommonPackage.initializePackageContents();

		// Mark meta-data to indicate it can't be changed
		theExpressionPackage.freeze();

		return theExpressionPackage;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getCIntVar() {
		return cIntVarEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getCIntVar_Name() {
		return (EAttribute)cIntVarEClass.getEStructuralFeatures().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getCIntVar_Value() {
		return (EAttribute)cIntVarEClass.getEStructuralFeatures().get(1);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getCIntVar_LowerBound() {
		return (EAttribute)cIntVarEClass.getEStructuralFeatures().get(2);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getCIntVar_UpperBound() {
		return (EAttribute)cIntVarEClass.getEStructuralFeatures().get(3);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getCIntVar_IntVar() {
		return (EAttribute)cIntVarEClass.getEStructuralFeatures().get(4);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getCIntVar_Constraints() {
		return (EReference)cIntVarEClass.getEStructuralFeatures().get(5);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getCIntExpr() {
		return cIntExprEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getCIntCst() {
		return cIntCstEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EAttribute getCIntCst_Value() {
		return (EAttribute)cIntCstEClass.getEStructuralFeatures().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getCIntExprCst() {
		return cIntExprCstEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getCAddCst() {
		return cAddCstEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getCSubCst() {
		return cSubCstEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getCMultCst() {
		return cMultCstEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getCDivCst() {
		return cDivCstEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getCBasicIntExprCst() {
		return cBasicIntExprCstEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getCBasicIntExprCst_Parameters() {
		return (EReference)cBasicIntExprCstEClass.getEStructuralFeatures().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getCIntExprVar() {
		return cIntExprVarEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getCBasicIntExprVar() {
		return cBasicIntExprVarEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getCBasicIntExprVar_Parameters() {
		return (EReference)cBasicIntExprVarEClass.getEStructuralFeatures().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getCAddVar() {
		return cAddVarEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getCSubVar() {
		return cSubVarEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EClass getCIntVarRef() {
		return cIntVarRefEClass;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EReference getCIntVarRef_Variable() {
		return (EReference)cIntVarRefEClass.getEStructuralFeatures().get(0);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EDataType getIntExp() {
		return intExpEDataType;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public EDataType getIntVar() {
		return intVarEDataType;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public ExpressionFactory getExpressionFactory() {
		return (ExpressionFactory)getEFactoryInstance();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private boolean isCreated = false;

	/**
	 * Creates the meta-model objects for the package.  This method is
	 * guarded to have no affect on any invocation but its first.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void createPackageContents() {
		if (isCreated) return;
		isCreated = true;

		// Create classes and their features
		cIntVarEClass = createEClass(CINT_VAR);
		createEAttribute(cIntVarEClass, CINT_VAR__NAME);
		createEAttribute(cIntVarEClass, CINT_VAR__VALUE);
		createEAttribute(cIntVarEClass, CINT_VAR__LOWER_BOUND);
		createEAttribute(cIntVarEClass, CINT_VAR__UPPER_BOUND);
		createEAttribute(cIntVarEClass, CINT_VAR__INT_VAR);
		createEReference(cIntVarEClass, CINT_VAR__CONSTRAINTS);

		cIntExprEClass = createEClass(CINT_EXPR);

		cIntCstEClass = createEClass(CINT_CST);
		createEAttribute(cIntCstEClass, CINT_CST__VALUE);

		cIntExprCstEClass = createEClass(CINT_EXPR_CST);

		cAddCstEClass = createEClass(CADD_CST);

		cSubCstEClass = createEClass(CSUB_CST);

		cMultCstEClass = createEClass(CMULT_CST);

		cDivCstEClass = createEClass(CDIV_CST);

		cBasicIntExprCstEClass = createEClass(CBASIC_INT_EXPR_CST);
		createEReference(cBasicIntExprCstEClass, CBASIC_INT_EXPR_CST__PARAMETERS);

		cIntExprVarEClass = createEClass(CINT_EXPR_VAR);

		cBasicIntExprVarEClass = createEClass(CBASIC_INT_EXPR_VAR);
		createEReference(cBasicIntExprVarEClass, CBASIC_INT_EXPR_VAR__PARAMETERS);

		cAddVarEClass = createEClass(CADD_VAR);

		cSubVarEClass = createEClass(CSUB_VAR);

		cIntVarRefEClass = createEClass(CINT_VAR_REF);
		createEReference(cIntVarRefEClass, CINT_VAR_REF__VARIABLE);

		// Create data types
		intExpEDataType = createEDataType(INT_EXP);
		intVarEDataType = createEDataType(INT_VAR);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private boolean isInitialized = false;

	/**
	 * Complete the initialization of the package and its meta-model.  This
	 * method is guarded to have no affect on any invocation but its first.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void initializePackageContents() {
		if (isInitialized) return;
		isInitialized = true;

		// Initialize package
		setName(eNAME);
		setNsPrefix(eNS_PREFIX);
		setNsURI(eNS_URI);

		// Obtain other dependent packages
		ConstraintPackage theConstraintPackage = (ConstraintPackage)EPackage.Registry.INSTANCE.getEPackage(ConstraintPackage.eNS_URI);
		CommonPackage theCommonPackage = (CommonPackage)EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI);

		// Create type parameters

		// Set bounds for type parameters

		// Add supertypes to classes
		cIntVarEClass.getESuperTypes().add(this.getCIntExprVar());
		cIntExprEClass.getESuperTypes().add(theCommonPackage.getCNode());
		cIntCstEClass.getESuperTypes().add(this.getCIntExprCst());
		cIntExprCstEClass.getESuperTypes().add(this.getCIntExpr());
		cAddCstEClass.getESuperTypes().add(this.getCBasicIntExprCst());
		cSubCstEClass.getESuperTypes().add(this.getCBasicIntExprCst());
		cMultCstEClass.getESuperTypes().add(this.getCBasicIntExprCst());
		cDivCstEClass.getESuperTypes().add(this.getCBasicIntExprCst());
		cBasicIntExprCstEClass.getESuperTypes().add(this.getCIntExprCst());
		cIntExprVarEClass.getESuperTypes().add(this.getCIntExpr());
		cBasicIntExprVarEClass.getESuperTypes().add(this.getCIntExprVar());
		cAddVarEClass.getESuperTypes().add(this.getCBasicIntExprVar());
		cSubVarEClass.getESuperTypes().add(this.getCBasicIntExprVar());
		cIntVarRefEClass.getESuperTypes().add(this.getCIntExprVar());

		// Initialize classes and features; add operations and parameters
		initEClass(cIntVarEClass, CIntVar.class, "CIntVar", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
		initEAttribute(getCIntVar_Name(), ecorePackage.getEString(), "name", null, 1, 1, CIntVar.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEAttribute(getCIntVar_Value(), ecorePackage.getEInt(), "value", null, 1, 1, CIntVar.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEAttribute(getCIntVar_LowerBound(), ecorePackage.getEInt(), "lowerBound", null, 1, 1, CIntVar.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEAttribute(getCIntVar_UpperBound(), ecorePackage.getEInt(), "upperBound", null, 1, 1, CIntVar.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEAttribute(getCIntVar_IntVar(), this.getIntVar(), "intVar", null, 1, 1, CIntVar.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
		initEReference(getCIntVar_Constraints(), theConstraintPackage.getCConstraint(), theConstraintPackage.getCConstraint_Variables(), "constraints", null, 0, -1, CIntVar.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

		initEClass(cIntExprEClass, CIntExpr.class, "CIntExpr", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

		addEOperation(cIntExprEClass, this.getIntExp(), "intExp", 1, 1, IS_UNIQUE, IS_ORDERED);

		initEClass(cIntCstEClass, CIntCst.class, "CIntCst", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
		initEAttribute(getCIntCst_Value(), ecorePackage.getEInt(), "value", null, 1, 1, CIntCst.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

		initEClass(cIntExprCstEClass, CIntExprCst.class, "CIntExprCst", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

		addEOperation(cIntExprCstEClass, ecorePackage.getEInt(), "compute", 1, 1, IS_UNIQUE, IS_ORDERED);

		initEClass(cAddCstEClass, CAddCst.class, "CAddCst", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

		initEClass(cSubCstEClass, CSubCst.class, "CSubCst", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

		initEClass(cMultCstEClass, CMultCst.class, "CMultCst", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

		initEClass(cDivCstEClass, CDivCst.class, "CDivCst", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

		initEClass(cBasicIntExprCstEClass, CBasicIntExprCst.class, "CBasicIntExprCst", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
		initEReference(getCBasicIntExprCst_Parameters(), this.getCIntExprCst(), null, "parameters", null, 1, -1, CBasicIntExprCst.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

		initEClass(cIntExprVarEClass, CIntExprVar.class, "CIntExprVar", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

		initEClass(cBasicIntExprVarEClass, CBasicIntExprVar.class, "CBasicIntExprVar", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
		initEReference(getCBasicIntExprVar_Parameters(), this.getCIntExprVar(), null, "parameters", null, 1, -1, CBasicIntExprVar.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

		initEClass(cAddVarEClass, CAddVar.class, "CAddVar", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

		initEClass(cSubVarEClass, CSubVar.class, "CSubVar", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);

		initEClass(cIntVarRefEClass, CIntVarRef.class, "CIntVarRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
		initEReference(getCIntVarRef_Variable(), this.getCIntVar(), null, "variable", null, 1, 1, CIntVarRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);

		// Initialize data types
		initEDataType(intExpEDataType, IntExp.class, "IntExp", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
		initEDataType(intVarEDataType, IntVar.class, "IntVar", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
	}

} //ExpressionPackageImpl
